package com.netdimensions.confluence.plugins;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Rob
 * Date: 1/17/11
 * Time: 10:10 PM
 * To change this template use File | Settings | File Templates.
 */
public final class UrlUtils {
    // Suppress default constructor for noninstantiability
    private UrlUtils() {
        throw new AssertionError();
    }

    public static final String url(final String action, final List<Parameter> parameters) {
        return action + "?" + Parameter.encoded(parameters);
    }
}
